
/*
 * qWikiOffice Desktop 1.0
 * Copyright(c) 2007-2010, Murdock Technologies, Inc.
 * licensing@qwikioffice.com
 *
 * http://www.qwikioffice.com/license
 */

Ext.namespace('Ext.ux','QoDesk');

QoDesk.App = new Ext.app.App({
   init : function(){
      Ext.BLANK_IMAGE_URL = '/kumbia/css/style-webtop/images/default/s.gif';
      Ext.QuickTips.init();
   },

   /**
    * The member's name and group name for this session.
    */
   memberInfo: {
      name: 'Todd Murdock',
      group: 'System Administrator'
   },

   /**
    * An array of the module definitions.
    * The definitions are used until the module is loaded on demand.
    */
   modules: [ {"id":"demo-bogus","type":"demo/bogus","className":"QoDesk.BogusWindow","launcher":{"iconCls":"bogus-icon","shortcutIconCls":"demo-bogus-shortcut","text":"Bogus Window","tooltip":"<b>Bogus Window<\/b><br \/>A bogus window"},"launcherPaths":{"startmenu":"\/Bogus Menu\/Bogus Sub Menu"}},{"id":"demo-grid","type":"demo/grid","className":"QoDesk.GridWindow","launcher":{"iconCls":"grid-icon","shortcutIconCls":"demo-grid-shortcut","text":"Grid Window","tooltip":"<b>Grid Window<\/b><br \/>A grid window"},"launcherPaths":{"startmenu":"\/"}},{"id":"demo-layout","type":"demo/layout","className":"QoDesk.LayoutWindow","launcher":{"iconCls":"layout-icon","shortcutIconCls":"demo-layout-shortcut","text":"Layout Window","tooltip":"<b>Layout Window<\/b><br \/>A layout window"},"launcherPaths":{"startmenu":"\/"}},{"id":"demo-tab","type":"demo/tab","className":"QoDesk.TabWindow","launcher":{"iconCls":"tab-icon","shortcutIconCls":"demo-tab-shortcut","text":"Tab Window","tooltip":"<b>Tab Window<\/b><br \/>A tab window"},"launcherPaths":{"startmenu":"\/"}},{"id":"qo-admin","type":"system/administration","className":"QoDesk.QoAdmin","launcher":{"iconCls":"qo-admin-icon","shortcutIconCls":"qo-admin-shortcut-icon","text":"QO Admin","tooltip":"<b>QO Admin<\/b><br \/>Allows system administration"},"launcherPaths":{"startmenu":"\/Admin"}},{"id":"qo-preferences","type":"system/preferences","className":"QoDesk.QoPreferences","launcher":{"iconCls":"qo-pref-icon","shortcutIconCls":"qo-pref-shortcut-icon","text":"QO Preferences","tooltip":"<b>QO Preferences<\/b><br \/>Allows you to modify your desktop"},"launcherPaths":{"contextmenu":"\/","startmenutool":"\/"}},{"id":"qo-profile","type":"user/profile","className":"QoDesk.QoProfile","launcher":{"iconCls":"qo-profile-icon","shortcutIconCls":"qo-profile-shortcut-icon","text":"Profile","tooltip":"<b>Profile<\/b><br \/>Allows user profile administration"},"launcherPaths":{"contextmenu":"\/","startmenutool":"\/"}} ],

   /**
     * The members privileges.
     */
   privileges: {"demo-bogus":[],"demo-grid":[],"demo-layout":[],"demo-tab":[],"qo-admin":["addGroup","addMember","addPrivilege","approveSignupsToGroup","deleteGroup","deleteMember","deletePrivilege","denySignups","editGroup","editGroupPrivilege","editMember","editMembersGroups","editPrivilege","editPrivilegeModules","viewGroups","viewGroupPrivileges","viewMembers","viewMemberGroups","viewPrivileges","viewPrivilegeModules","viewSignups"],"qo-preferences":["saveAppearance","saveAutorun","saveBackground","saveQuickstart","saveShortcut","viewThemes","viewWallpapers"],"qo-profile":["loadProfile","saveProfile","savePwd"]},

   /**
    * The desktop config object.
    */
   desktopConfig: {
      appearance: {"fontColor":"5B4FB3","taskbarTransparency":100,"theme":{"id":2,"name":"Gray","file":"\/kumbia\/css\/style-webtop\/css\/xtheme-gray.css"}},
      background: {"color":"f9f9f9","wallpaperPosition":"center","wallpaper":{"id":5,"name":"Curls On Green","file":"resources\/wallpapers\/curls-on-green.jpg"}},
      launchers: {"shortcut":["qo-preferences","qo-admin","demo-accordion","demo-tab","demo-bogus"],"quickstart":["qo-preferences","qo-admin","demo-tab"]},
      taskbarConfig: {
         buttonScale: 'large',
         position: 'bottom',
         quickstartConfig: {
            width: 120
         },
         startButtonConfig: {
            iconCls: 'icon-qwikioffice',
            text: 'Start'
         },
         startMenuConfig: {
            iconCls: 'icon-user-48',
            title: 'Todd Murdock',
            width: 320
         }
      }
   }
});